﻿<!-- 精彩推送 -->
<div class="pages navbar-fixed">
    <div id="push_page" data-page="push" class="page push">
        <!-- navbar 开始 -->
        <div class="navbar">
            <div class="navbar-inner">
                <div class="left">
                    <a href="#" data-panel="left" class="open-panel link icon-only"><i class="mui-icon mui-icon-bars">
                    </i></a>
                </div>
                <div class="center">
                    精彩推送</div>
            </div>
        </div>
        <!-- navbar 结束 -->
        <div class="page-content infinite-scroll">
            <script id="template-push" type="text/template7">
            {{#each datas}}
            {{#js_compare "this.Details != null && this.Details.length > 0"}}
            <!--多文列表 开始-->
            <div class="card demo-card-header-pic">
                <a href="other/pushDetail.htm?id={{PushLog.PushLogGuid}}" class="">
                <!--大图 开始-->
                <div class="card-content">
                    <div class="card-content-inner">
                        <p class="color-gray">
                            {{PushLog.CreateTime}}</p>
                    </div>
                </div>
                <div style="background-image: url({{PushLog.MaterialUrl}})" valign="bottom"
                    class="card-header color-white no-border">
                    <div class="push-title">
                        {{PushLog.MaterialTitle}}</div>
                </div>
                </a>
                <!--大图 结束-->
                <!--小图列表 开始-->
                <div class="card-content">
                    <div class="list-block media-list">
                        <ul>
                        {{#each Details}}
                            <a href="other/pushDetail.htm?id={{PushLogGuid}}" class="item-content">
                                <div class="item-inner">
                                    <div class="item-title-row">
                                        <div class="item-title">
                                            {{MaterialTitle}}</div>
                                    </div>
                                </div>
                                <div class="item-media">
                                    <div style="background-image: url({{MaterialUrl}});"></div>
                                </div>
                            </a>
                        {{/each}}
                        </ul>
                    </div>
                </div>
                <!--小图列表 结束-->
            </div>
            <!--多文列表 结束-->
            {{else}}
            <!--单文列表 开始-->
            <div class="card facebook-card">
            <a href="other/pushDetail.htm?id={{PushLog.PushLogGuid}}" class="">
                <div class="card-header">
                    <div class="facebook-name">
                        {{PushLog.MaterialTitle}}</div>
                    <div class="facebook-date">
                        {{PushLog.CreateTime}}</div>
                </div>
                <div class="card-content">
                    <div class="card-content-inner">
                        <div style="background-image: url({{PushLog.MaterialUrl}});">
                        </div>
                        <p>
                           {{PushLog.MaterialDescription}}</p>
                    </div>
                </div>
            </a>
            </div>
            <!--单文列表 结束-->
            {{/js_compare}}
            {{/each}}
            </script>
        </div>
        <!-- 无限加载提示符 -->
        <div class="infinite-scroll-preloader t-c">
            <div class="preloader">
            </div>
        </div>
    </div>
